/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package com.theme.passport.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "用户搜索表单")
public class SearchForm {

    @ApiModelProperty(value = "关键词", notes = "", required = false)
    private String userId;

    @ApiModelProperty(value = "关键词", notes = "", required = true)
    @NotBlank(message="关键词不能为空")
    private String keyword;

}
